******************************************************************************************
***CLASSROOMS OR CRACKDOWNS? HOW VIOLENCE AFFECTS SECURITY POLICY PREFERENCES IN MEXICO***
***Authors: Sarah Berens, Ana I. López García, Barry Maydom*******************************
******************************************************************************************

******************
**BALANCE CHECKS**
******************

use "Data ready E5.dta", clear 

********************************************************
*1.Balance Checks
tabulate E5_vign1 E5_vign2, summarize(E5_crime_measures)

*Balance tests - Preventative / punitive approach manipulation (vign 2)
iebaltab E5_crime_measures female age_groups1 age_groups2 age_groups3 age_groups4 age_groups5 edlevel1 edlevel2 edlevel3 ///
	edlevel4 college_higher income_cat1 income_cat2 income_cat3 employed, grpvar(E5_vign2) save("TableA5.xlsx") ///
	replace starl(0.05 0.010 0.001) rowvarlabels 
